package com.ihome.android.market2.info;

public class TemplateContentInfo {
	//内容id
	private int		contentId;
	//内容名称
	private String	name;

	/**
	 * 内容类型：1.栏目，2.应用，4.专题； <br>
	 * 如果是栏目，客户端点击该内容的时候根据contentCode当作栏目id再次请求此接口；<br>
	 * 如果是应用，则调用应用详情接口；<br>
	 * 如果是专题，跳转到相应webView界面<br>
	 */
	private int		type;
	/**
	 * 0x10000 — 标示本地应用管理<br>
	 * 0x10001 — 单纯的应用列表信息<br>
	 * 0x10002 — 有排版位置的应用列表<br>
	 * 0x10003 — 热门排行
	 */
	private String	contentCode;
	//内容显示的海报
	private String	posterUrl;
	// 位于哪列
	private int		mCol;
	// 位于哪行
	private int		mRow;
	// 占多少行
	private int		mRowSpan;
	// 占多少列
	private int		mColSpan;
	// 宽度
	private int		mWidth;
	// 高度
	private int		mHeight;

	private int		position;
	//分类ID
	private int		cid;

	public int getContentId() {
		return contentId;
	}

	public void setContentId(int contentId) {
		this.contentId = contentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContentCode() {
		return contentCode;
	}

	public void setContentCode(String contentCode) {
		this.contentCode = contentCode;
	}

	public String getPosterUrl() {
		return posterUrl;
	}

	public void setPosterUrl(String posterUrl) {
		this.posterUrl = posterUrl;
	}

	public int getmCol() {
		return mCol;
	}

	public void setmCol(int mCol) {
		this.mCol = mCol;
	}

	public int getmRow() {
		return mRow;
	}

	public void setmRow(int mRow) {
		this.mRow = mRow;
	}

	public int getmRowSpan() {
		return mRowSpan;
	}

	public void setmRowSpan(int mRowSpan) {
		this.mRowSpan = mRowSpan;
	}

	public int getmColSpan() {
		return mColSpan;
	}

	public void setmColSpan(int mColSpan) {
		this.mColSpan = mColSpan;
	}

	public int getmWidth() {
		return mWidth;
	}

	public void setmWidth(int mWidth) {
		this.mWidth = mWidth;
	}

	public int getmHeight() {
		return mHeight;
	}

	public void setmHeight(int mHeight) {
		this.mHeight = mHeight;
	}

	public int getPosition() {
		return position;
	}

	public void setPosition(int position) {
		this.position = position;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

}
